export const comsType = {
  FORM_HEADER: "FORM_HEADER",
  FORM_FOOTER: "FORM_FOOTER",
  TEXT: 'TEXT',
  ATTACHMENT: 'ATTACHMENT',
  COMBOBOX: "COMBOBOX",
  SELECT: "SELECT",
  PICTURE: "PICTURE"
};

export const rm_tabs = {
  PROPS: 'props',
  SETTING: 'setting',
  THEME: 'theme'
};

export const viewTypes = {
  PC: 'desktop',
  MOBILE: 'mobile',
  MOBILE_WX: 'mobile_wx', // 微信中 且wx jssdk可用状态下
  READONLY: 'readonly'
};

export const formRules = {
  REQUIRED: 'required'
};

// WeaSelect detailtype属性值
export const detailTypes = {
  CHECKBOX:2,
  RADIO: 3,
};

// combobox与select key
export const OTHER = '-1'; // 其他选项
export const CUSTOM = '-1'; // 自定义选项

export const LIB_PATH = '/edc/lib';
export const IMG_PATH = '/edc/images';

export const ruleTypes = {
  FIELD: 'field',
  JUMP: 'jump'
};

//接口返回错误信息类型
export const errorTypes = {
  PAGE:'PAGE'
}


export const ACCEPT_TYPE = {
  DOC: 'txt、pdf、doc、docx、xls、xlsx、ppt、pptx、wps、rtf、hlp',
  IMAGE: 'jpg、jpeg、png、gif、bmp、psd、tif',
  VIDEO: 'mkv、mp4、avi、swf、wmv、rmvb、mov、mpg',
  AUDIO: 'mp3、flac、ape、wma、wav、aac、m4a、au、ram、mmf、aif',
  COMPRESS: 'rar、zip、7z、gz、arj、z'
}